package com.flashphoner.api.data
{	
	
	/**
	 * Error codes from server-side
	 * **/			
	public class ErrorCodes
	{
		public static const AUTHENTICATION_FAIL:String = "AUTHENTICATION_FAIL";
		public static const USER_NOT_AVAILABLE:String = "USER_NOT_AVAILABLE";
		public static const TOO_MANY_REGISTER_ATTEMPTS:String = "TOO_MANY_REGISTER_ATTEMPTS";
		public static const LICENSE_RESTRICTION:String = "LICENSE_RESTRICTION";
		public static const INTERNAL_SIP_ERROR:String = "INTERNAL_SIP_ERROR";
		public static const CONNECTION_ERROR:String = "CONNECTION_ERROR";
		public static const REGISTER_EXPIRE:String = "REGISTER_EXPIRE";		
		public static const PARAMETERS_IS_NOT_INITIALIZED:String = "PARAMETERS_IS_NOT_INITIALIZED";
		public static const SIP_PORTS_BUSY:String = "SIP_PORTS_BUSY";
		public static const MEDIA_PORTS_BUSY:String = "MEDIA_PORTS_BUSY";
		public static const WRONG_SIPPROVIDER_ADDRESS:String = "WRONG_SIPPROVIDER_ADDRESS";
		public function ErrorCodes()
		{
		}

	}
}